var run0 = () => {

}

//测试Objext.extend
var run1 = () => {
	let dog1 = {
		name: 'dog1',
		age: 1,
		info() {
			console.log('name:' + this.name + ',age:' + this.age);
		}
	};
	//dog2基于dog1创建形成原型链
	let dog2 = Object.extend(dog1);
	dog2.name = "dog2";
	dog2.age = 2;
	//dog3基于dog2创建形成原型链
	let dog3 = Object.extend(dog2);
	dog3.name = "dog3";
	dog3.age = 3;
}
//测试number实例的扩展方法getInteger、isFloat
//和Number构造函数的新增方法getInteger、isFloat
var run2 = () => {
	var num1 = 1.25,
		num2 = -6.425,
		num3 = 5;
	console.log('(1.25)num1.getInteger()',num1.getInteger());
	console.log('(-6.425)num2.getInteger()',num2.getInteger());
	console.log('(1.25)num1.isFloat()',num1.isFloat());
	console.log('(-6.425)num2.isFloat()',num2.isFloat());
	console.log('(1.25)num3.isFloat()',num3.isFloat());
}
//app entrance
window.onload = main;

function main() {
	debugger;
	run2();
	//	hanoi(4, 'column1', 'column2', 'column3');
	//	fade(document.getElementById("g"));
	//	fade(document.getElementById("f"));
	//alertTheOrderNumber(document.querySelectorAll(".list li"));
	//console.log('&lt;&quot;&gt;'.deentityify());
}